package com.prb.listener;

import com.prb.factory.AnnotationBeanFactory;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class ContextLister implements ServletContextListener {



    @Override
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        try {
            AnnotationBeanFactory.doScan("com.prb");
        } catch (Exception e) {
        }
    }

    @Override
    public void contextDestroyed(ServletContextEvent servletContextEvent) {

    }
}
